//
//  TypeClassPicker.h
//  YaoHeAPP
//
//  Created by mac on 15/12/15.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TypeClassPicker : UIView<UIPickerViewDataSource,UIPickerViewDelegate,UIGestureRecognizerDelegate>
{
    UIPickerView  *_pickerView;
    UIView *_bgView;
    NSString*_stringRow;//将选中字符串拼接成完整的一个字
    NSString*str1;
    NSString*str2;
}
@property (nonatomic, strong) void(^SelectBlock)(NSString *selectIndexStr);
@property (nonatomic, strong) NSString *titleStr;
@property(nonatomic,strong)NSMutableArray*dataArray;

@property(nonatomic,copy)NSString*typStr;//传过来的类型

//大小
- (id)initWithFrame:(CGRect)frame;
//展示选择器
+(void)showPickerView:(UIView*)selfView withTitle:(NSString*)titleString typStr:(NSString*)str andSelectBlock:(void(^)(NSString*))selectRow ;


@end
